package com.xyzh05.service.impl;

import com.xyzh05.dao.CommentDao;
import com.xyzh05.model.Comment;
import com.xyzh05.service.CommentManager;
import com.xyzh05.service.impl.GenericManagerImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import javax.jws.WebService;

@Service("commentManager")
@WebService(serviceName = "CommentService", endpointInterface = "com.xyzh05.service.CommentManager")
public class CommentManagerImpl extends GenericManagerImpl<Comment, Long> implements CommentManager {
    CommentDao commentDao;

    @Autowired
    public CommentManagerImpl(CommentDao commentDao) {
        super(commentDao);
        this.commentDao = commentDao;
    }
}